#
# PySNMP MIB module HH3C-TUNNEL-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///opt/mib/netdisco-mibs/h3c/hh3c-tunnel.mib
# Produced by pysmi-0.3.4 at Thu Jan 27 18:22:43 2022
# On host loaclhost platform Linux version 3.10.0-1160.41.1.el7.x86_64 by user root
# Using Python version 3.6.8 (default, Nov 16 2020, 16:55:22) 
#
ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
SingleValueConstraint, ValueRangeConstraint, ConstraintsUnion, ValueSizeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueRangeConstraint", "ConstraintsUnion", "ValueSizeConstraint", "ConstraintsIntersection")
hh3cCommon, = mibBuilder.importSymbols("HH3C-OID-MIB", "hh3cCommon")
InterfaceIndexOrZero, ifIndex = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero", "ifIndex")
InetAddressType, InetAddress = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddressType", "InetAddress")
IPv6FlowLabelOrAny, = mibBuilder.importSymbols("IPV6-FLOW-LABEL-MIB", "IPv6FlowLabelOrAny")
NotificationGroup, ModuleCompliance, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance", "ObjectGroup")
NotificationType, Integer32, iso, ModuleIdentity, MibIdentifier, ObjectIdentity, Counter64, IpAddress, Counter32, Unsigned32, MibScalar, MibTable, MibTableRow, MibTableColumn, Gauge32, Bits, TimeTicks = mibBuilder.importSymbols("SNMPv2-SMI", "NotificationType", "Integer32", "iso", "ModuleIdentity", "MibIdentifier", "ObjectIdentity", "Counter64", "IpAddress", "Counter32", "Unsigned32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Gauge32", "Bits", "TimeTicks")
RowStatus, TextualConvention, DisplayString, StorageType = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention", "DisplayString", "StorageType")
hh3cTunnel = ModuleIdentity((1, 3, 6, 1, 4, 1, 25506, 2, 53))
hh3cTunnel.setRevisions(('2005-06-04 00:00',))
if mibBuilder.loadTexts: hh3cTunnel.setLastUpdated('200506040000Z')
if mibBuilder.loadTexts: hh3cTunnel.setOrganization('Hangzhou H3C Tech. Co., Ltd.')
class Hh3cTunnelType(TextualConvention, Integer32):
    status = 'current'
    subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50))
    namedValues = NamedValues(("other", 1), ("direct", 2), ("gre", 3), ("minimal", 4), ("l2tp", 5), ("pptp", 6), ("l2f", 7), ("udp", 8), ("atmp", 9), ("msdp", 10), ("sixToFour", 11), ("sixOverFour", 12), ("isatap", 13), ("teredo", 14), ("tunnelModeReserve", 35), ("tunnelModeIPv4Gre", 36), ("tunnelModeIPv6Gre", 37), ("tunnelModeIPv4IPv4", 38), ("tunnelModeIPv4IPv6Config", 39), ("tunnelModeIPv4IPv6Auto", 40), ("tunnelModeIPv4IPv66to4", 41), ("tunnelModeIPv4IPv6Isatap", 42), ("tunnelModeIPv6IPv4", 43), ("tunnelModeIPv6IPv6", 44), ("tunnelModeIPv4UdpDVPN", 45), ("tunnelModeIPv4GreDVPN", 46), ("tunnelModeIPv6UdpDVPN", 47), ("tunnelModeIPv6GreDVPN", 48), ("tunnelModeCrLsp", 49), ("tunnelModeMax", 50))

hh3cTunnelMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 53, 1))
hh3cTunnelTables = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 53, 1, 1))
hh3cTunnelIfTable = MibTable((1, 3, 6, 1, 4, 1, 25506, 2, 53, 1, 1, 1), )
if mibBuilder.loadTexts: hh3cTunnelIfTable.setStatus('current')
hh3cTunnelIfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 25506, 2, 53, 1, 1, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: hh3cTunnelIfEntry.setStatus('current')
hh3cTunnelIfEncapsMethod = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 53, 1, 1, 1, 1, 3), Hh3cTunnelType()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hh3cTunnelIfEncapsMethod.setStatus('current')
hh3cTunnelIfHopLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 53, 1, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 255), ))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hh3cTunnelIfHopLimit.setStatus('current')
hh3cTunnelIfSecurity = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 53, 1, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("ipsec", 2), ("other", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hh3cTunnelIfSecurity.setStatus('current')
hh3cTunnelIfTOS = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 53, 1, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 63))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hh3cTunnelIfTOS.setStatus('current')
hh3cTunnelIfFlowLabel = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 53, 1, 1, 1, 1, 7), IPv6FlowLabelOrAny()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hh3cTunnelIfFlowLabel.setStatus('current')
hh3cTunnelIfAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 53, 1, 1, 1, 1, 8), InetAddressType()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hh3cTunnelIfAddressType.setStatus('current')
hh3cTunnelIfLocalInetAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 53, 1, 1, 1, 1, 9), InetAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hh3cTunnelIfLocalInetAddress.setStatus('current')
hh3cTunnelIfRemoteInetAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 53, 1, 1, 1, 1, 10), InetAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hh3cTunnelIfRemoteInetAddress.setStatus('current')
hh3cTunnelIfEncapsLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 53, 1, 1, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-1, -1), ValueRangeConstraint(0, 255), ))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hh3cTunnelIfEncapsLimit.setStatus('current')
hh3cTunnelInetConfigTable = MibTable((1, 3, 6, 1, 4, 1, 25506, 2, 53, 1, 1, 3), )
if mibBuilder.loadTexts: hh3cTunnelInetConfigTable.setStatus('current')
hh3cTunnelInetConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 25506, 2, 53, 1, 1, 3, 1), ).setIndexNames((0, "HH3C-TUNNEL-MIB", "hh3cTunnelInetConfigSlot"), (0, "HH3C-TUNNEL-MIB", "hh3cTunnelInetConfigSubSlot"), (0, "HH3C-TUNNEL-MIB", "hh3cTunnelInetConfigTunnNum"))
if mibBuilder.loadTexts: hh3cTunnelInetConfigEntry.setStatus('current')
hh3cTunnelInetConfigSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 53, 1, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)))
if mibBuilder.loadTexts: hh3cTunnelInetConfigSlot.setStatus('current')
hh3cTunnelInetConfigSubSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 53, 1, 1, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)))
if mibBuilder.loadTexts: hh3cTunnelInetConfigSubSlot.setStatus('current')
hh3cTunnelInetConfigTunnNum = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 53, 1, 1, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)))
if mibBuilder.loadTexts: hh3cTunnelInetConfigTunnNum.setStatus('current')
hh3cTunnelInetConfigIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 53, 1, 1, 3, 1, 6), InterfaceIndexOrZero()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hh3cTunnelInetConfigIfIndex.setStatus('current')
hh3cTunnelInetConfigStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 53, 1, 1, 3, 1, 7), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hh3cTunnelInetConfigStatus.setStatus('current')
mibBuilder.exportSymbols("HH3C-TUNNEL-MIB", hh3cTunnelInetConfigSlot=hh3cTunnelInetConfigSlot, hh3cTunnelIfRemoteInetAddress=hh3cTunnelIfRemoteInetAddress, hh3cTunnelMIBObjects=hh3cTunnelMIBObjects, hh3cTunnel=hh3cTunnel, hh3cTunnelIfTable=hh3cTunnelIfTable, hh3cTunnelIfTOS=hh3cTunnelIfTOS, hh3cTunnelIfEncapsLimit=hh3cTunnelIfEncapsLimit, hh3cTunnelInetConfigSubSlot=hh3cTunnelInetConfigSubSlot, hh3cTunnelIfEncapsMethod=hh3cTunnelIfEncapsMethod, hh3cTunnelInetConfigIfIndex=hh3cTunnelInetConfigIfIndex, hh3cTunnelIfLocalInetAddress=hh3cTunnelIfLocalInetAddress, hh3cTunnelInetConfigStatus=hh3cTunnelInetConfigStatus, hh3cTunnelIfFlowLabel=hh3cTunnelIfFlowLabel, hh3cTunnelIfEntry=hh3cTunnelIfEntry, Hh3cTunnelType=Hh3cTunnelType, hh3cTunnelIfAddressType=hh3cTunnelIfAddressType, hh3cTunnelIfHopLimit=hh3cTunnelIfHopLimit, hh3cTunnelIfSecurity=hh3cTunnelIfSecurity, PYSNMP_MODULE_ID=hh3cTunnel, hh3cTunnelTables=hh3cTunnelTables, hh3cTunnelInetConfigEntry=hh3cTunnelInetConfigEntry, hh3cTunnelInetConfigTunnNum=hh3cTunnelInetConfigTunnNum, hh3cTunnelInetConfigTable=hh3cTunnelInetConfigTable)
